package com.damie.common.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2021-01-18
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_site")
@ApiModel(value="Site对象", description="")
public class SiteDto implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "站点id")
        @TableId(value = "site_id", type = IdType.ASSIGN_ID)
      private String siteId;

      @ApiModelProperty(value = "站点名")
      private String siteName;

    private String siteTel;

      @ApiModelProperty(value = "城市")
      private String siteCity;

      @ApiModelProperty(value = "地区")
      private String siteDistrict;

//      @ApiModelProperty(value = "关联用户id")
//      private String userId;
//
      @ApiModelProperty(value = "站点状态0未启用/1启用")
      private Integer siteStatus;
//
//      @ApiModelProperty(value = "创建时间")
//        @TableField(fill = FieldFill.INSERT)
//      private Date createTime;
//
//      @TableField(fill = FieldFill.INSERT_UPDATE)
//      private Date updateTime;

      @ApiModelProperty(value = "站点经度")
      private Double siteLongitude;

      @ApiModelProperty(value = "站点纬度")
      private Double siteLatitude;

      @ApiModelProperty(value = "站点资料")
      private String siteData;

      @ApiModelProperty(value = "站点类型(废品回收或者二手回收)")
      private Integer siteType;


}
